libxenstore: Use PTHREAD_STACK_MIN
authorIan Campbell <ian.campbell@citrix.com>
Fri, 25 Oct 2013 07:47:35 +0000 (08:47 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 28 Oct 2013 15:33:04 +0000 (15:33 +0000)
commit35e874b1d5d56dd2098313364b879c637fa56844
tree5d9053b3347c8de65ee548710afbe3c62ba30b48
parentdc19afbad9319b00474951d4218a37c072a6570b
libxenstore: Use PTHREAD_STACK_MIN

The existing value of 16K is smaller than the arm64 minimum stack size, which
is 128K. PTHREAD_STACK_MIN appears to be standard
http://pubs.opengroup.org/onlinepubs/009695399/functions/pthread_attr_setstacksize.html

Consindered setting a lower bound but the stack requirements of the watcher
thread are pretty minimal (tens of bytes from the looks of it) and unlikely to
blow PTHREAD_STACK_MIN on any useful platform.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenstore/xs.c